package com.yangoxix.lovegoing_admin.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yangoxix.common.utils.PageUtils;
import com.yangoxix.common.utils.Query;

import com.yangoxix.lovegoing_admin.dao.AuditpublisherDao;
import com.yangoxix.lovegoing_admin.entity.AuditpublisherEntity;
import com.yangoxix.lovegoing_admin.service.AuditpublisherService;


@Service("auditpublisherService")
public class AuditpublisherServiceImpl extends ServiceImpl<AuditpublisherDao, AuditpublisherEntity> implements AuditpublisherService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<AuditpublisherEntity> page = this.page(
                new Query<AuditpublisherEntity>().getPage(params),
                new QueryWrapper<AuditpublisherEntity>()
        );

        return new PageUtils(page);
    }

}
